<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录</title>
</head>
<body>
    <div>
        <h3>POST提交</h3>
        <form action="http://localhost:3000/login" method="POST">
            用户名：<input type="text" name="username"><br>
            密码：<input type="password" name="password"><br>
            <input type="submit" value="登录">
        </form>
    </div>
    <hr>
    <div>
            <h3>GET提交</h3>
            <form action="http://localhost:3000/login" method="GET">
                用户名：<input type="text" name="username"><br>
                密码：<input type="password" name="password"><br>
                <input type="submit" value="登录">
            </form>
        </div>
    
</body>
</html>